Source i (link to git-repo or to original if based on someone elses unmodified work):

https://gitlab.com/divinae/uswitch

12
Become a Fan
8.1

Available as/for:
Description:
Minimal version of User Switch plasmoid.
Last changelog:

1.3.0

* Reuse plasma translations (by Krzysztof Korab)
* Allow customization of application shortcuts (by Krzysztof Korab)


Ratings & Comments

26 Comments

lokystaz

10 Neat, clean... Amazing! (missing only the option to change the session shortcut: lock screen, sleep..etc! I never use sleep, I would prefer a logout and/or reboot!^^) Thanks a lot dude

baqlawi

I installed this on a fresh KUBUNTU 20.04.1 KDE and I got this error. Error loading QML file: file:///home/zzzz/.local/share/plasma/plasmoids/org.kde.plasma.uswitcher/contents/ui/main.qml:20:1: module "QtQml" version 2.14 is not installed. How can I solve this issue and install the missing dependency?

baqlawi

Seems inactive. After trying many times with both 1.2.5

diVinae

Sorry for the late response (I have a crazy time right now). For versions > 1.2.4 Qt 5.14 is needed. So I restored v1.2.4 - you should try it.

geovane7881

10 10 the best

rektal

10 Excellent.

drithess4

10 10 the best

sadi

9 9 excellent! Add icon for "New Session" ("system-switch-user"), change the icon for "Suspend" to "system-suspend", change "Leave..." to "Log Out.." (as well as its icon), and finall also add "Reboot" and "Shutdown" items (with corresponding icons), then you have 100% perfection. Thanks to open source I have achieved this already. ;-) Thank you very much!

diVinae

Could you create merge request on gitlab?

sadi

OK, I've created my first ever "merge request". Please check if I've done it right. ;-)

diVinae

Thanks, I will check it in free time :) I think showing additional buttons (reboot...) should be optional - with some setting to enable

sadi

Maybe... Simple Menu widget displays these two icons only, even without tooltip - which is extreme. ;-)

sadi

I'm not very sure if we should say "Reboot" or "Restart"...

sadi

Maybe "Restart the Computer" and "Shutdown the Computer" will be clearer.

palacio

9 9 can you add a shutdown/poweroff button?

palacio

To clarify, I have "no confirmation asked" set and the "Leave..." button logins me out immediately.

sadi

1. Open "~/.local/share/plasma/plasmoids/org.kde.plasma.uswitcher/contents/ui/main.qml" 2. Modify this line as follows: + suspendButton.height + leaveButton.height + rebootButton.height + shutdownButton.height 2. Finally modify the following last lines, save the file, log out and back in: ListDelegate { id: leaveButton text: i18nc("Show a dialog with options to logout/shutdown/restart", "Leave...") highlight: delegateHighlight icon: "system-log-out" onClicked: pmEngine.performOperation("requestShutDown") } ListDelegate { id: rebootButton text: i18nc("Reboot the computer", "Restart") highlight: delegateHighlight icon: "system-reboot" onClicked: { executable.exec("qdbus org.kde.ksmserver /KSMServer logout 0 1 3"); } } ListDelegate { id: shutdownButton text: i18nc("Shutdown the computer", "Shutdown") highlight: delegateHighlight icon: "system-shutdown" onClicked: { executable.exec("qdbus org.kde.ksmserver /KSMServer logout 0 2 3"); } } } } }

stroum

9 +

frag

Please, add "system monitor" (ksysguard) entry!

diVinae

It's there :)

frag

Thank you!

no1cares

9 +

joergister

9 +neat

andreyorst

Suspend button color is wrong when using breeze icon set with dark theme (on your 2nd screen it happens too). Ability to set custom icon instead of showing settings icon would be nice.

diVinae

Please check new version. It is not perfect, but should be better.

Pling
0 Affiliates
Details
license GPLv2 or later
version 1.3.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Plasma 5 Applets from diVinae:

Fokus
diVinae
last update date: 2 years ago

Score 8.8

Other Plasma 5 Applets:

WebView test
kinta
last update date: 10 years ago

Score 5.0

Google Task - web - obsoleted
suli
last update date: 8 years ago

Score 6.1

CodeShip Monitor
Naraku
last update date: 8 years ago

Score 5.0

Media Controller Compact
bkueng
last update date: 6 years ago

Score 7.7

Shaders example plasmoid
mart
last update date: 11 years ago

Score 6.5

Simple RSS reader
aloos
last update date: 9 years ago

Score 7.0